import java.util.Locale;

public class Woniu0523 {
    public static void main(String[] args) {
       String []arr={"abc","bde","txc","iux","iod","dwa","ddd","dwd","dwad","dadad"};
        for (int i = 0; i < arr.length; i++) {
            System.out.print( arr[i]+" ");
        }

        String str = "abcdefg";
        //1.
        System.out.println(str.length());
        //2.
        System.out.println(str.substring(1, 3));
        //3.
        System.out.println(str.toUpperCase(Locale.ROOT));
    }
}
